package com.songyuquan.webcs.exception;

import com.songyuquan.webcs.enums.ResultEnum;

public class MyException extends RuntimeException {

    private static final long serialVersionUID = -8602241885882500083L;

    public MyException(String message) {
        super(message);
    }

    public MyException(ResultEnum resultEnum) {
        super(resultEnum.getMsg());
    }
}
